package com.make.house.api.controller;


/**
 * Created by etouch on 2017/11/7.
 * 基本的请求参数
 */
public class BaseRequestParams {
    private String app_key; //应用的key
    private long app_ts;//请求的时间戳
    private String uid;//用户id
    private String device_id;//设备id
    private String auth_token;//用户登录token
    private String ver_code;//版本号
    private String ver_name;//版本名
    private String channel;//渠道号
    private String city_key;//城市的key
    private String os_version;//系统的版本
    private String platform;//来着哪个平台，比如android
    private String app_sign;//签名信息

    public String getApp_key() {
        return app_key;
    }

    public void setApp_key(String app_key) {
        this.app_key = app_key;
    }

    public long getApp_ts() {
        return app_ts;
    }

    public void setApp_ts(long app_ts) {
        this.app_ts = app_ts;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getDevice_id() {
        return device_id;
    }

    public void setDevice_id(String device_id) {
        this.device_id = device_id;
    }

    public String getAuth_token() {
        return auth_token;
    }

    public void setAuth_token(String auth_token) {
        this.auth_token = auth_token;
    }

    public String getVer_code() {
        return ver_code;
    }

    public void setVer_code(String ver_code) {
        this.ver_code = ver_code;
    }

    public String getVer_name() {
        return ver_name;
    }

    public void setVer_name(String ver_name) {
        this.ver_name = ver_name;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getCity_key() {
        return city_key;
    }

    public void setCity_key(String city_key) {
        this.city_key = city_key;
    }

    public String getOs_version() {
        return os_version;
    }

    public void setOs_version(String os_version) {
        this.os_version = os_version;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public String getApp_sign() {
        return app_sign;
    }

    public void setApp_sign(String app_sign) {
        this.app_sign = app_sign;
    }

    public String beanToString() {
        return  "App_sign=" + getApp_sign()
                + "Auth_token=" + getAuth_token()
                + "Channel=" + getChannel()
                + "City_key=" + getCity_key()
                + "Device_id=" + getDevice_id()
                + "Os_version=" + getOs_version()
                + "Platform=" + getPlatform()
                + "Uid=" + getUid()
                + "Ver_code=" + getVer_code()
                + "Ver_name=" + getVer_name()
                + "App_ts=" + getApp_ts()
                + "App_key=" + getApp_key();
    }
}
